import { defineConfig } from 'windicss/helpers'

export default defineConfig({
  prefixer: false,
  preflight: false,
  enableRpx: true,
  extract: {
    exclude: ['node_modules', '.git', 'dist']
  },
  theme: {
    extend: {
      width: {
        full: '100%'
      },
      fontSize: {
        xxs: '10px',
        xs: '11px',
        s: '12px',
        base: '14px',
        default: '16px'
      },
      colors: {
        'primary': '#0058C6',
        'yellow': '#FFDE00',
        'w': '#fff',
        'sub': 'rgba(0, 88, 198, .75)',
        'grey': '#9C9C9C',
        'grey2': '#232323',
        'goods': '#353535',
        'desc': '#BCBCBC',
        '999': '#999999',
        '666': '#666666',
        '333': '#333333'
      },
      spacing: {
        xl: '40rpx',
        l: '32rpx',
        '8px': '8px',
        '12px': '12px',
        base: '12px',
        s: '20rpx',
        xs: '10rpx',
        '10px': '10px',
        '5px': '5px'
      },
      backgroundColor: {
        'w': '#ffffff'
      },
      borderRadius: {},
      lineHeight: {
        label: 1.4,
        none: 1
      }
    }
  },
  corePlugins: {
    container: false
  }
})